//
//  DWPerson.m
//  OCAPPDemo
//
//  Created by Apple on 2021/3/24.
//

#import "DWPerson.h"
#import <objc/runtime.h>

@interface DWPerson () {
    //NSUInteger _age;
}

@end

@implementation DWPerson
// @dynamic age;

//+ (BOOL)resolveInstanceMethod:(SEL)sel {
//    if (sel == @selector(setAge:)) {
//        class_addMethod(self, sel, class_getMethodImplementation(self, @selector(customSetAge:)), "v@:L");
//        return YES;
//    }
//    return [super resolveInstanceMethod:sel];
//}

//- (void)customSetAge:(NSUInteger)age {
//    NSLog(@"customSetAge age = %lu", (unsigned long)age);
//
//}
//
//- (void)setAge:(NSUInteger)age {
//    NSLog(@"setAge age = %lu", (unsigned long)age);
//}


@end
